<?php

namespace App\Services;

use App\Services\Java\ApiService;

class User extends Base
{
    public function register($params)
    {
        $result = (new ApiService())->requestJava('/auth/api/user/add-user', $params, 'post');
        return ['error' => false, 'data' => $result];
    }
}